//质量管理

import http from '@/lib/http'


//1-01查询供应商
export function selectSupplierList(params?) {
  return http.getRequest(`/supplier/select`, params)
}

//1-02增加供应商
export function insertSupplierList(params) {
  return http.postRequest(`/supplier/insert`, params)
}

//1-03修改供应商

export function updateSupplierList(params) {
  return http.postRequest(`/supplier/update`, params)
}
//1-04删除供应商
export function deleteSupplierList(params) {
  return http.getRequest(`/supplier/delete`, params)
}
//2-01查询设备
export function selectEquipmentList(params?) {
  return http.getRequest(`/equipment/select`, params)
}

//2-02增加设备
export function insertEquipmentList(params) {
  return http.postRequest(`/equipment/insert`, params)
}
//2-03修改供设备
export function updateEquipmentList(params) {
  return http.postRequest(`/equipment/update`, params)
}
//2-04删除设备
export function deleteEquipmentList(params) {
  return http.getRequest(`/equipment/delete`, params)
}


//3-05
export function getUserWorkerList() {
  return http.getRequest(`/worker/list`)
}
